package com.jsx.dao;

import java.util.List;
import com.jsx.model.User;
import com.jsx.model.Addtest;
import com.jsx.model.Denglu;
//改了
import com.jsx.model.Zhuce;
public interface UserDao {
    int insert(User user);
    //添加测试
    int addSelective(Addtest user);
    //改了
    int insertSelective(Zhuce user);
    int deleteByPrimaryKey(int id);
    //带黑底色的user应该都是类名
    int updateByPrimaryKeySelective(Addtest user);
    int updateByPrimaryKey(User user);
    Addtest selectByPrimaryKey(int id);
    List<User> getAll();
    Denglu selectByUsernameAndPassword(Denglu user);
    Denglu selectByUsernameAndPasswordyonghu(Denglu user);
}
